package com.itzsj.mapper;

import com.itzsj.pojo.entity.Enterprise;
import com.itzsj.pojo.entity.Graduate;
import com.itzsj.pojo.entity.Message;
import com.itzsj.pojo.entity.Work;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdminMapper {

    List<Graduate> listG(String sno, String grade);

    void updateG(Graduate graduate);

    void deleteG(String sno);

    void deleteGW(String sno);

    void deleteGM(String sno);

    void deleteGP(String sno);

    List<Work> listW(String sno);

    void saveW(Work work);

    void deleteW(String sno);

    void changeW(String sno, Integer work);

    List<Enterprise> listE(String eno);

    void saveE(Enterprise enterprise);

    void deleteE(String eno);

    void deleteEJ(String eno);

    void deleteEM(String eno);

    void deleteEP(String eno);

    List<Message> listM(String eno);

    void deleteM(List<Integer> ids);


}
